﻿using Common.Device.Views.Devices;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;

namespace Common.Device.ViewModels
{
    public class DianYaCaiJiViewModel : BindableBase
    {
        private int menuIndex = 0;
        /// <summary>
        /// 菜单索引
        /// </summary>
        public int MenuIndex
        {
            get { return menuIndex; }
            set { SetProperty(ref menuIndex, value); }
        }
        public List<Enums.DianYaCaiJiEnum.Channel> channels { get; set; }
        public string unity { get; set; }
        public DianYaCaiJiViewModel()
        {
            channels = new List<Enums.DianYaCaiJiEnum.Channel>();
        }
        
        //class InputModel
        //{
        //    public StackPanel stackPanel { get; set; }
        //    public InputModel(DianYaCaiJiView editView)
        //    {
        //        stackPanel = editView.StackPanelChannel;
        //    }
        //    public InputModel(DianYaCaiJiView testView)
        //    {
        //        stackPanel = testView.StackPanelChannel;
        //    }
        //}
    }
}
